import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SGangFightsBattleTeam } from "./SGangFightsBattleTeam";
type int = number;
//class SGangFightsBattle
    
    export  class SGangFightsBattle
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.gangFightsId);
            this.teamOne.__write(arg1);
            this.teamTwo.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.gangFightsId = arg1.readInt();
            this.teamOne = new SGangFightsBattleTeam();
            this.teamOne.__read(arg1);
            this.teamTwo = new SGangFightsBattleTeam();
            this.teamTwo.__read(arg1);
            return;
        }

        public /* var */gangFightsId: int;

        public /* var */teamOne: SGangFightsBattleTeam;

        public /* var */teamTwo: SGangFightsBattleTeam;
    }
